package com.edu.bean;

public class Orders {
    private int orderId;
    private String orderName;
    private String orderType;
    private Double orderPrice;
    private String orderTime;

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public Double getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(Double orderPrice) {
        this.orderPrice = orderPrice;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public Orders() {
    }

    public Orders(int orderId, String orderName, String orderType, Double orderPrice, String orderTime) {
        this.orderId = orderId;
        this.orderName = orderName;
        this.orderType = orderType;
        this.orderPrice = orderPrice;
        this.orderTime = orderTime;
    }

    @Override
    public String toString() {
        return "order{" +
                "orderId=" + orderId +
                ", orderName='" + orderName + '\'' +
                ", orderType='" + orderType + '\'' +
                ", orderPrice=" + orderPrice +
                ", orderTime=" + orderTime +
                '}';
    }
}
